﻿<%@ Page Title="About" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="About.aspx.cs" Inherits="design.About" %>

<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <asp:Label ID="Label1" runat="server" Text="Имя"></asp:Label>
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Не указанно имя" ControlToValidate="TextBox1" ValidationExpression="[A-ZА-Я-a-zа-я-0-9 ]+"></asp:RegularExpressionValidator>
    <br />
    <br />
    <asp:Label ID="Label2" runat="server" Text="E-mail"></asp:Label>
    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBox2" ErrorMessage="Неправельно введен email" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
    <br />
    <br />
    <asp:Label ID="Label3" runat="server" Text="Текст сообщения"></asp:Label>
    <br />
    <asp:TextBox ID="TextBox3" runat="server" Height="162px" TextMode="MultiLine" Width="426px"></asp:TextBox>
    <br />
    <asp:Label ID="Label4" runat="server" Text="Поля заполнены не правильно" Visible="False" Font-Bold="True" Font-Italic="True" Font-Names="Arial Black" Font-Overline="False" Font-Size="XX-Large" ForeColor="Red"></asp:Label>
    <br />
    <br />
    <asp:Button ID="Button1" runat="server" Text="Отправить" OnClick="Button1_Click" />
</asp:Content>